182. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-07-12 04:42:43 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

182.1 Files compared

#LocationFileLast Modified
1Porto v4.0.5/Theme Files/Porto Theme/app/code/Smartwave/Megamenu/view/frontend/templatessidebar_menu.phtml2023-02-27 02:21:29 +0000
2Porto v4.0.6/Theme Files/Porto Theme/app/code/Smartwave/Megamenu/view/frontend/templatessidebar_menu.phtml2023-02-27 02:21:29 +0000

182.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged1104
Changed00
Inserted00
Removed00

182.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

182.4 Active regular expressions

No regular expressions were active.

182.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © 2018 Porto. All rights reserved. 3  * Copyright © 2018 Porto. All rights reserved.
4  */ 4  */
5  5 
6 ?> 6 ?>
7 <?php 7 <?php
8 /** 8 /**
9  * Top menu for store 9  * Top menu for store
10  * 10  *
11  * @see \Smartwave\Megamenu\Block\Topmenu 11  * @see \Smartwave\Megamenu\Block\Topmenu
12  */ 12  */
13 ?> 13 ?>
14 <?php 14 <?php
15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data'); 15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data');
16     $_config = $_helper->getConfig('sw_megamenu'); 16     $_config = $_helper->getConfig('sw_megamenu');
17     $columnsLimit = 0; 17     $columnsLimit = 0;
18     if($_config['general']['enable']) { 18     if($_config['general']['enable']) {
19 ?> 19 ?>
20 <?php $_menu = $block->getMegamenuHtml(); ?> 20 <?php $_menu = $block->getMegamenuHtml(); ?>
21 <div class="sticky-sidenav sections nav-sections"> 21 <div class="sticky-sidenav sections nav-sections">
22   <nav class="navigation sw-megamenu side-megamenu" role="navigation"> 22   <nav class="navigation sw-megamenu side-megamenu" role="navigation">
23     <ul> 23     <ul>
24         <?php echo $_menu; ?> 24         <?php echo $_menu; ?>
25     </ul> 25     </ul>
26   </nav> 26   </nav>
27 </div> 27 </div>
28 <style> 28 <style>
29 .sticky-sidenav { 29 .sticky-sidenav {
30     will-change: position,top,bottom,left; 30     will-change: position,top,bottom,left;
31     padding-bottom: 1px; 31     padding-bottom: 1px;
32 } 32 }
33 </style> 33 </style>
34 <script type="text/javascript"> 34 <script type="text/javascript">
35     require([ 35     require([
36         'jquery', 36         'jquery',
37         'themeSticky', 37         'themeSticky',
38         'Smartwave_Megamenu/js/sw_megamenu' 38         'Smartwave_Megamenu/js/sw_megamenu'
39     ], function ($) { 39     ], function ($) {
40         $(".sw-megamenu").swMegamenu(); 40         $(".sw-megamenu").swMegamenu();
41         $(".sidebar-nav .sticky-sidenav").themeSticky({ 41         $(".sidebar-nav .sticky-sidenav").themeSticky({
42           autoInit: true, 42           autoInit: true,
43           minWidth: 992, 43           minWidth: 992,
44           containerSelector: '.page-main .page-main-inner', 44           containerSelector: '.page-main .page-main-inner',
45           autoFit: true, 45           autoFit: true,
46           paddingOffsetBottom: 10 46           paddingOffsetBottom: 10
47         }); 47         });
48     }); 48     });
49 </script> 49 </script>
50 <?php 50 <?php
51     } 51     }
52 ?> 52 ?>